<div id="main">
    <div class="w950">
        <div class="bg_top_main p15t">
            <div class="w910 mc p15t">

                <div class="w910 mc p15t br_b">
                    <h2 class="green"><b>Thiết lập mật khẩu mới</b></h2>
                </div>
                <div class="w910 mc p15t"> 
                    <div class="mc" style="width: 510px">
                        <?php if ($this->reset) { ?>
                            <div id="resetFromContainer">
                                
                                <form id="resetFrom" method="POST" action="<?php echo $this->url(array("controller" => 'access', "action" => "resetpassword")); ?>" >
                                    <label class="lbl1">Mật khẩu mới:</label>
                                    <input name="data[password]" type="password" class="txt3 required"/><br />

                                    <p class="gray_color float_left">
                                        <label class="lbl1">&nbsp;</label> 
                                        <span>&nbsp;Xin vui lòng nhập mật khẩu mới của bạn tại đây</span>
                                    </p>                                
                                    <br class="cl" />
                                    <label class="lbl1">&nbsp;</label> 
                                    <div class="red_bg float_left showIconLoad1" style="padding: 5px 15px ">
                                        <a id="btnSubmitresetFrom" href="javascript:void(0);" onclick="
                                            myAds.showLoadingIcon('.showIconLoad1');
                                            myAds.onSubmitForm('#resetFrom', '#resetFromContainer', false, true, false);
                                            jQuery('#resetFrom').submit();                                
                                           ">Gữi</a>
                                    </div>

                                    <div class="cb"></div>     
                                    <input type="hidden" value="<?php echo $this->token ?>" name="token" />
                                </form>
                            </div>
                        <?php } else { ?>
                            Liên kết hết hiệu lực xin vui lòng thử lại chức năng quên mật khẩu
                        <?php } ?>
                        <?php if ($this->login && !$this->reset) { ?>
                            <div id="resetFromContainer">
                                
                                <form id="login1Form" method="POST" action="<?php echo $this->url(array("controller" => 'access', "action" => "loginSubmit")); ?>" >

                                    <label class="lbl1">Email:</label>
                                    <input name="data[UserName]" type="text" class="txt3 required"/><br />
                                    <label class="lbl1">Password:</label>                                        
                                    <input name="data[Password]" type="password" class="txt3 required"/>

                                    <br class="cl" />
                                    <label class="lbl1">&nbsp;</label> 
                                    <div class="red_bg float_left showIconLoad1" style="padding: 5px 15px ">
                                        <a id="btnSubmitresetFrom" href="javascript:void(0);" onclick="
                                            myAds.showLoadingIcon('.showIconLoad1');
                                            myAds.onSubmitForm('#login1Form', '', false);
                                            jQuery('#login1Form').submit();                                
                                           ">Gữi</a>
                                    </div>
                                </form>
                            </div>
                        <?php } ?>
                    </div>
                    <div class="cb"> </div>
                </div>

                <div class="cb"></div>
            </div>
        </div>
    </div>
</div>